package com.jinzhi.jzweb.domain;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.jinzhi.jzapi.utils.DataEnum;
import lombok.Data;

import java.util.Date;

/**
 * 岗位能力合格证书表
 * @author mengzhichao
 * @create 2022-09-23-16:27
 */
@Data
@SuppressWarnings("serial")
@TableName("jz_train_certificate")
public class JzTrainCertificateDO {

    @TableId
    private Long id;

    @TableField("name")
    private String name;

    @TableField("id_number")
    private String idNumber;

    @TableField("certificate_number")
    private String certificateNumber;

    @TableField("type")
    private String type;

    @TableField("course_title")
    private String courseTitle;

    @TableField("period")
    private String period;

    @TableField("grade")
    private  String grade;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @TableField("get_time")
    private Date getTime;

    @TableField("unit")
    private String unit;

    @TableField("sex")
    private String sex;

    @TableField("img")
    private String img;
}
